package com.wit.witmg.api;


import com.wit.witmg.service.ITProdFeeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

/**
 * @author bob
 * @since 2024-06-12
 */
@RestController
@RequestMapping("prodFee")
@Api(tags = "制造费用API")
public class ProdFeeController {

    @Resource
    private ITProdFeeService service;

    @ApiOperation("查询")
    @PostMapping("get")
    public Object get(HttpServletRequest request,
                         @RequestParam(value = "date1") String date1,
                      @RequestParam(value = "date2") String date2) {
        return service.get(request,date1,date2);
    }

}
